<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="memcache.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="memcache.examples.html">范例</a></div>
 <div class="up"><a href="book.memcache.html">Memcache</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="memcache.constants" class="appendix">
 <h1>预定义常量</h1>

 <table class="doctable table">
  <caption><strong>Memcache 常量</strong></caption>
   
    <thead>
     <tr>
      <th>常量名</th>
      <th>描述</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>
       <strong><code>MEMCACHE_COMPRESSED</code></strong>
       (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>
      用于在
       <span class="function"><a href="memcache.set.html" class="function">Memcache::set()</a></span>, 
       <span class="function"><a href="memcache.add.html" class="function">Memcache::add()</a></span> 和 
       <span class="function"><a href="memcache.replace.html" class="function">Memcache::replace()</a></span>几个方法中指定是否对写入数据压缩。
      </td>
     </tr>

     <tr>
      <td>
       <strong><code>MEMCACHE_HAVE_SESSION</code></strong>
       (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>
      1代表当前Memcache session处理器可用，其他为0
      </td>
     </tr>

    </tbody>
   
  </table>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="memcache.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="memcache.examples.html">范例</a></div>
 <div class="up"><a href="book.memcache.html">Memcache</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
